const Koa = require('koa')
const body_parser = require('koa-bodyparser')

const app = new Koa()

app
  .use(body_parser())

app.use((ctx, next) => {
  console.log(ctx.request.body)
  ctx.status = 200
})

app.listen(8080)
